package com.yuanchu.order.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.List;

/**
 * @version: 1.0
 * @Author: adan
 * @description:
 * @date: 2024-02-25 20:14
 */
@Data
public class OrderCommentParamsDto {
    private String orderId;
    private List<OrderCommentForm> form;

    @Data
    public static class OrderCommentForm {
        @JsonProperty("goods_id")
        private int goodsId;
        @JsonProperty("order_goods_id")
        private int orderGoodsId;
        private int score;
        private String content;
        private List<ImageList> imageList;
        private List<Integer> uploaded;
    }

    @Data
    public static class ImageList {
        private String path;
        private int size;
    }
}
